<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="nav-close"><i class="fa fa-times-circle"></i>
    </div>
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header" style="text-align: center;">
                <div class="dropdown profile-element">
                    <span><img alt="image" class="img-circle" width="64" height="64" src="{:request()->user['headimg']}"/></span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs" style="margin: 10px 0px;"><strong class="font-bold">系统管理 - {:request()->user['fullname']}</strong></span>
                                <span class="text-muted text-xs block">{:request()->user['access']['groups']['title']}<b class="caret"></b></span>
                                </span>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        <li><a class="J_menuItem" href="">修改头像</a>
                        </li>
                        <li><a class="J_menuItem" href="">个人资料</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="{:url('User/outLogin')}">安全退出</a>
                        </li>
                    </ul>
                </div>
                <div class="logo-element">系统
                </div>
            </li>
            {volist name=":request()->menu" id="vo"}
            <li>
                <a href="#">
                    <i class="fa fa-home"></i>
                    <span class="nav-label">{$vo['title']}</span>
                    {if $vo['child']}
                    <span class="fa arrow"></span>
                    {/if}
                </a>
                {if $vo['child']}
                <ul class="nav nav-second-level">
                    {volist name="$vo['child']" id="v"}
                    <li>
                        <a class="J_menuItem" href="{$v['name']}" data-index="0">{$v['title']}</a>
                    </li>
                    {/volist}
                </ul>
                {/if}
            </li>
            {/volist}
        </ul>
    </div>
</nav>